{% comment %}
/* Copyright 2009 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
{% endcomment %}
{% extends 'base.html' %}
{% block content %}
{% if sitemap_pages or sitemap_posts %}
  <div class="sidebar-title">Sitemap</div>
  <div class="sidebar-spacer">&nbsp;</div>
  {% for page in sitemap_pages %}
    <div><a href="/{{page.path}}">{{page.button_name}}</a></div>
  {% endfor %}
  {% for post in sitemap_posts %}
    <div><a href="/{{post.path}}">{{post.title}}</a></div>
  {% endfor %}
{% else %}
  We're sorry, the sitemap page couldn't be loaded at this time. Try using the search feature above.
{% endif %}
{% endblock %}
